#pragma once

#include <string>

#include "section-id.h"
#include "menu.h"


namespace book
{

class ArticleMenuItem
{
public:
    ArticleMenuItem() {}

    ArticleMenuItem(SectionId sectionId, const std::string &title)
        : sectionId_(sectionId), title_(title) {}

    SectionId sectionId() const {
        return sectionId_;
    }

    const std::string &title() const {
        return title_;
    }

private:
    SectionId sectionId_ = 0;
    std::string title_;
};

using ArticleMenu = Menu<ArticleMenuItem>;

} // namespace book
